002 how i do it (part 1)
好吧,如果您还记得我们已经在这里创建了几个不同的窗口,那么让我们开始设置一些工作,我将继续查看此窗口 11 的设置。
OK let's jump in and set up some a job is if you remember we've already created a few different windows here and I'm going to go ahead and take a look at the settings for this window 11.
我打算将其更改为 H-2A。
And I'm going to change that to H-2A.
所以这将是我的选择屏幕。
So that's going to be my choice screen.
然后我需要创建一些导航。
And then I need to create some navigation to that.
因此,在这里我已经指出了 HLA,然后对于标签,我将其更改为 H-2A 完美。
So down here I've already pointed to HLA and then for a label I'm just going to change that to H-2A perfect.
现在我有一个按钮可以将我们带到我们的显示屏幕,而我们的显示屏幕现在上面什么也没有。
So now I have a button that brings us to our show a screen and our show a screen right now has nothing on it.
这很好,这正是我们所期望的。
That's good that's just what we would expect.
所以我需要复制一些东西,我只需按住控制键,然后单击或在我想要的所有内容周围画一个框,我认为这样就可以了。
So I need to copy some stuff and I'm just holding down control and I'm either clicking or drawing a box around everything that I want and I think that'll do it.
所以让我按 Control C 到这里进入 HBO 方式,然后按 Control Wii 并完美,就像这样。
So let me hit Control C come over here into HBO way and hit Control Wii and perfect just like that.
我已经有了屏幕的基本部分。
I've got the basic pieces of my screen.
我想在这里更改我的主屏幕标题。
I want to change my main screen title up here.
这将是一部大银幕剧。
And this is going to be a show a screen hit.
好的。
OK.
我想将系统指示器保留在右上角。
And I want to leave my system indicators on the top right.
我当然想将导航留在底部,但也许我应该将其导航到主页,而不是这里的 HMO 屏幕。
And I certainly want to leave my navigation on the bottom but instead of an HMO a screen here maybe I should actually navigate that to the main page.
所以我要在这里设置第一个按钮,这个按钮会将我们带到窗口 10,它的标签将是主屏幕,实际上我将把它保留为主屏幕,因为我不认为我有足够的空间来编写主屏幕,我将继续更改窗口 10 的标题,我将使该主屏幕如此受欢迎。
So I'm going to set up this first button here and that one is going to bring us to window 10 and the label of that is going to be main screen and actually I'll just leave that as main because I don't think I have enough room to write main screen and I'll go ahead and change the title of window 10 and I will make that main so hit.
好吧,那就更好了。
OK that's even better.
它仍然会落在该页面上。
And it will still land on that page.
现在无论何时开始,我们都有办法进入 H-2A 屏幕,并且有一个按钮可以让我们返回。
Whenever we start now we've got a way to get into our H-2A screen and we've got a button that'll get us back.
因此,我们接下来要做的就是为所有七种不同的设备设置控件和显示。
So the next thing we need to do is we need to set up controls and displays for all of seven different devices.
所以我要做的第一件事是我想实际展示一下我的阀门。
So the first thing I'm going to do is I want to actually illustrate my valves a little bit.
所以让我们继续取一个矩形,我要把这个矩形做成浅灰色,它的内部也将是浅灰色的,我的智慧就继续把它变成一个,然后没有圆角。
So let's go ahead and take a rectangle and I'm going to make this rectangle Light Gray and the interior of this will also be and the interior of this will also be light and gray and my wit just go ahead and put that to one and no rounded corners.
让我们画一些东西,然后我将在这里再创建一个矩形。
And let's just draw something and then I'm going to create one more rectangle here.
这将是这个东西身体的另一部分,让我们再创建一个。
That's going to be another part of this thing's body and let's create one more.
这将是一种将我们的阀体连接到实际螺线管的颈部,然后我们需要创建一个实体,所以我将再次使用这个工具,这次我要给我的螺线管上色亮绿色,实际上我要把内部变成亮绿色,我要把 X 或白色。
And this is going to be kind of a neck that connects our valve body to our actual solenoid and then we need to create a solid noid so I'm going to take this tool once again and this time I'm going to color my solenoid of bright green and actually I'm going to make the interior bright green and I'm going to make the X or white.
所以这应该会给它一点光彩,我会接受的。
So that should give it a little bit of a glow and I'll take that.
好的。
OK.
然后让我在这里画一个稍微大一点的矩形。
And then let me just draw a slightly bigger rectangle right here.
差不多就是这样。
Just about like that.
完美的。
Perfect.
因此,让我们继续将其放在一起,我需要我的 Aero 工具和它。
So let's go ahead and put this together I need my Aero tool over there and it.
现在我有了一个东西,我将把它作为气缸阀门传递给世界。
Now I've got something that I'm going to pass off to the world as a cylinder valve.
完美的。
Perfect.
所以让我们把它移到这里一点,然后我将有两种不同的状态,所以我将复制它并将其粘贴到这里,我将双击这个,然后我'我要把这个红色的内部制作好,然后让我们选择所有这些。
So let's move that down here a little bit and then I'm going to have two different states of this so I'm going to just copy this and paste it right here and I'm going to double click on this one and I'm going to make the interior of this red OK so then let's select all of this at it.
我们将对它进行分组,我们将在右侧的编辑组和组中对这个进行同样的操作,然后将它们放入形状库中。
And we're going to group it and we'll do the same thing with this one on the right edit group and group and then let's put these into a shape library.
因此,我们将前往库,实际上我将从读取一个库形状开始,并将其保存到库中。
So we'll go up here to library and actually I'm going to start with the read one library shape save it to library.
我们将把它保存到我的指标中。
We're going to save this into my indicators.
这将是第一形状零状态。
This is going to be shape number one state zero.
完美退出。
Perfect exit.
然后这个将成为第一形状状态第一。
And then this one is going to be shape number one state one.
因此,库形状将其保存到库中,这将是形状第一状态第一。
So library shape save it to the library and that's going to be shape number one state number one.
果然这正是我想要的。
And sure enough that's exactly what I want.
非常好。
Very good.
因此,这会告诉我我的阀门何时通电或断电,然后我还需要对泵做类似的事情。
So that will tell me when my valve is energized or de-energized and then I also need to do kind of something similar for a pump.
那么让我们继续创建一个泵。
So let's go ahead and create a pump.
让我们从绘制一个多边形开始,我将继续使用我著名的板岩灰色,因为现在我实际上只是在处理身体,我将关闭它。
Let's start by drawing a polygon and I'll go ahead and take my famous slate gray for this because for right now I'm really just working on the body and I will close that.
那么让我们继续在这里创建一个简单的小框架,这将成为我的泵的基础。
So then let's just go ahead and create a simple little frame down here this is kind of going to be the base of my pump.
之后,我将创建一个椭圆,这将是我实际设置动画的部分。
And after that I'm going to create an ellipse and this is going to be the part that I actually animate.
所以我将从一个白色的框架开始,它的内部是绿色的,让我们到这里来,实际上只是画一个圆圈。
So I'll start by taking a white frame and the interior of this will be green and let's come down here and actually just draw a circle.
现在让我们把它放在底座上。
And now let's put this over the base.
所以这看起来有点像泵。
So that kind of starts to look like a pump a little bit.
我要复制这个,然后在它旁边再粘贴一个,让我们做同样的事情。
And I'm going to copy this and I'm going to paste one more right over here next to it and let's do the same thing.
我们要将内部更改为红色。
We're going to change that interior to red.
好的。
OK.
然后让我们将这两者分组。
And then let's group both of these.
因此,编辑组组,让我们对其他泵添加的组组执行相同的操作,然后让我们将这些内容从红色开始添加到我的指标库中,以便保存一个库,该库将被成形为状态零。
So edit group group and let's do the same thing for our other pump added group group and then let's say these things starting with the red to my indicators library so shape save a library this is going to be shaped to state zero.
好的。
OK.
然后这个也将被保存到库中,并且将被整形为状态一。
And then this one is going to also be saved to the library and this is going to be shaped to state one.
我们就这样吧。
And there we go.
我们有一些指标可以使用。
We've got some indicators to work with.
因此,让我们退出那里,我可以删除所有这些内容,并且每当我去设置指标时都可以使用它们。
So let's exit out of there and I can delete all of this stuff and I'll have that are available whenever I go to set up my indicators.
但首先让我们继续创建一些用于手持音频的按钮。
But first of all let's go ahead and create some buttons for hand audio.
好吧,我已经在这里设置了这些按钮,我什至还有一个框架和所有东西,所以你知道我做了什么。
Well I've already got these buttons right here set up and I even got a frame and everything so you know what I did like that.
我想保持我的视觉风格非常相似,所以我将复制它并粘贴到这里。
And I want to keep my visual styles pretty similar so I'm just going to copy that and paste that over here.
我只是要做一些工作并稍微修改一下,然后我将从 S V one H.O. 开始。
And I'm just going to do some work and modify this a little bit and I will start off with S V one H.O.
方式控制。
way control.
所以这对我有用。
So that works for me.
然后我们这里就有了这些按钮。
And then we've got these buttons here.
我实际上不希望它们被着色所以让我们进入标签并将所有这些设置为红色白色。
I actually don't want them to be colored So let's go into a label and just set all of these red white.
有一个,我们有第二个。
There is one and we've got the second one.
让我们继续把它也变白。
Let's go ahead and get that whited up as well.
完美的。
Perfect.
这些将需要成为我的自动按钮。
These are going to need to be my hand off auto buttons.
所以回到那个标签,我只是要设置其中一个,作为一个手退出设置下一个将是我的关闭。
So back into that label and I'm just going to set up one of these as a hand drop out set up the next one that's going to be my off.
够好了。
Good enough.
然后我需要其中三个而不是两个。
And then I'm going to need three of these not two.
所以我要拿第三个,我想把标签改成奥托。
So I'm going to take that third one and I want to change that label to read Otto.
好的。
All right.
那应该是完美的。
That should be perfect.
我将在这里扩展我的小框架。
And I'll extend my little frame here.
现在它包含了所有三个按钮,并且我已经为我的至少一个东西设置了控制。
So now it encompasses all three of those buttons and I've got control set up for at least one of my things.
现在我只需要映射这些按钮。
Now I just need to map these buttons.
这需要创建一些标签。
And that requires creating some tags.
我的意思是告诉你,我有很多标签要创建,所以我要跳到我的标签库,然后开始创建这些坦克。
And I mean to tell you I've got lots of tags to create So I'm going to jump up here into my tagged library and I'm going to start creating these tanks.
我将继续并从一个将连接到我的 PLCC 的新开始。
I'm going to go ahead and start with a new one that's going to be attached to my PLCC.
这将是 P.B.
And this is going to be P.B.
下划线 S V 一只下划线手。
underscore S V one underscore hand.
那会起作用的。
And that will work.
因此,我将复制该描述,以便粘贴该描述,然后修改它以及我创建的后续按钮。
So I'm going to copy that so I can paste that description and then modify it and subsequent buttons I create.
那将是一架 B-3。
And that is going to be a B-3.
让我们跳进我的梯子展示中,看看那个手按钮是什么。
And let's jump into my show a ladder to see what that hand button is.
实际上是B3 0 9。
It's actually B3 0 9.
所以跳回到这里,简单的构建器,我们得到了 0 0 0 0 9 OK。
So jump back in here the easy builder and we've got 0 0 0 0 9 OK.
新标签。
New tag.
我想把它传递出去,而不是亲自传递。
And I want to pass that in instead of hand.
这个要关掉了
This one's going to be off.
我的电脑上也会有一些。
It's also going to be a bit on my PC.
因此,让我们继续看看它是什么,然后再跳回来看看它是什么。
So let's go ahead and just take that and then jump right back in and see what that is.
我的办公室 B-3 0 8。
My office B-3 0 8.
所以这将是 0 0 0 0 8。
So this was going to be 0 0 0 0 8.
好的。
OK.
以及每个人的最后一张。
And the last one for every one.
我可以把它粘贴到那里。
I can just paste that in there.
这个人就是阿多。
And this one's going to be Ardo.
非常好。
Very good.
那一个也将是 PFC B-3。
That one is also going to be PFC B-3.
我的地址是 3 0 10 所以 0 0 0 1 0。
And my address for that is be 3 0 10 so 0 0 0 1 0.
好的。
OK.
因此,在这一点上,我不会让您坐在那里看着我为其他六种方式创建标签,即六台设备乘以三个标签,因此我们立即会查看大约 18 个标签,我不会你坐下来经历这一切。
So at this point I'm not going to make you sit there and watch me create tags for the other six ways that six devices times three tags each so right away we're looking at about 18 tags and I'm not going to make you sit through that.
所以我们这个讲座已经有点长了。
So we're already running a little bit long into this lecture.
让我们继续并在这里休息一下,当我回来时,我将创建所有这些标签,以便我可以跳入控件并开始更改内容并将它们粘贴到周围,从现在到那时我不会触摸显示器。
Let's go ahead and break here and when I come back I'll have all of those tags created so I can jump into the controls and start changing things and pasting them around I'm not going to touch the displays between now and then.
我只是要添加一些标签,以便我们在下一堂课中见到。
I'm just going to add some tags so I'll see you in the next lecture.
干杯。
Cheers.